/* platinum.c your weight in platinum */
#include <stdio.h>

int main(void) 
{
    float weight; //your weight
    float value;
    
    printf("Are you worth your weight in platinum? \n");

    printf("Let's check it out.\n");

    printf("Please enter you weight in pounds: ");

    //获取用户输入的数据
    scanf("%f", &weight);

    value = 1700.0 * weight * 14.5833;
    printf("Your weight iin platinum is worth $%.2f\n", value);
    printf("You are easily worth that! If platinum prices drop,\n");
    printf("eat more to maintain your value.\n");
    return 0 ;
}
